import styled from 'styled-components';

export const Homewrap = styled.div`
  width:960px;
  /* height:600px; */
  margin:0 auto;
  overflow:hidden;
  padding-top:30px;
  position:relative;
`;
export const RightContent = styled.div`
   width:640px;
   float:left;
`;
export const LeftContent = styled.div`
   width:300px;
   float:left;
   padding-left:20px;
`;
export const CarWrap = styled.div`
  width: 640px;
  height: 270px;
  img{
      width: 100%;
  }
`;
export const Itemwrap = styled.div`
 overflow:hidden;
 margin:30px 0;
 border-bottom: 1px solid #f0f0f0;

`;
export const ItemContent = styled.div`
   display: inline-block;
    margin: 0 18px 18px 0;
    min-height: 32px;
    background-color: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    vertical-align: top;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    img{
        width: 32px;
        height: 32px;
        vertical-align: middle;
    }
    .item_text{
        display: inline-block;
        font-size: 14px;
        padding:0 11px 0 6px;
    }
`;
export const NoteList = styled.div`
  
`;
export const NoteItem = styled.div`
    padding:30px 10px;
    border-bottom: 1px solid #f0f0f0;
    overflow:hidden;
    .left{
        float:left;
        width: 483px;
        h3{
            margin: -7px 0 4px;
            display: inherit;
            font-size: 18px;
            font-weight: 700;
            line-height: 1.5;
            cursor:pointer;
        }
        .abstract{
            margin: 0 0 8px;
            font-size: 13px;
            line-height: 24px;
            color: #999;
        }
    }
    .right{
        float:left;
        width: 125px;
        height: 100px;
        margin-left:10px;
        img{
            width: 100%;
        }
    }

`;
export const MoreNote = styled.div`
 width: 98%;
 margin: 20px auto;
 height: 40px;
 line-height:40px;
 text-align:center;
 background:#eee;
 color: #000;
 border-radius:4px;
 letter-spacing:3px;
 cursor:pointer;
 -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
`;
export const Board = styled.div`
   width: 100%;
   height: 270px;
   border:1px solid #aaa;
   box-sizing:border-box;
`;
export const Recommended = styled.div`
  margin-top:20px;
  .title{
      width: 100%;
      height: 40px;
      line-height:40px;
      display:flex;
      flex-direction:row;
      justify-content:space-between;
      margin-bottom:10px;
      span{
          color: #969696;
          font-size:14px;
          cursor:pointer;
      }
  }
  .list{
      li{
          overflow:hidden;
          margin-bottom:14px;
         .boxImg{
             float:left;
             width: 48px;
            height: 48px;
            margin-right: 10px;
            cursor:pointer;
            img{
                width: 100%;
                height: 100%;
                border: 1px solid #ddd;
                border-radius: 50%;
            }
         }
         .contentText{
            float:left;
            width: 79%;
            .title_name{
                padding-bottom:8px;
                cursor:pointer;
                .name{
                    padding-top: 5px;
                    margin-right: 60px;
                    font-size: 14px;
                    display: inline-block;
                    color: #333;
                }
                .care{
                    float: right;
                    margin-top: 5px;
                    padding: 0;
                    font-size: 13px;
                    color: #42c02e;
                }
                .followed{
                    float: right;
                    margin-top: 5px;
                    padding: 0;
                    font-size: 13px;
                    color: #ccc;
                }
            }
            .aticre{
                margin-top: 2px;
                font-size: 12px;
                color: #969696;
            }
         }
      }
  }
`;
export const Top = styled.div`
  position:fixed;
  bottom: 80px;
  right: 300px;
  padding:10px;
  border:1px solid #ccc;
  cursor:pointer;
  border-radius:7px;
`;